home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_netpbm.idb / usr / freeware / catman / u_man / cat1 / pbmtoascii.Z / pbmtoascii
Encoding:
Text File  |  1998-10-28  |  2.0 KB  |  68 lines

  1. /xlv1/freeware/1998.Oct/netpbm/1mar1994/netpbm.diffbuild/pbm
  2.  
  3.  
  4.  
  5.      ppppbbbbmmmmttttooooaaaasssscccciiiiiiii((((1111))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22220000 MMMMaaaarrrrcccchhhh 1111999999992222))))     ppppbbbbmmmmttttooooaaaasssscccciiiiiiii((((1111))))
  6.  
  7.  
  8.  
  9.      NNNNAAAAMMMMEEEE
  10.       pbmtoascii - convert a portable bitmap into ASCII graphics
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       ppppbbbbmmmmttttooooaaaasssscccciiiiiiii [----1111xxxx2222|----2222xxxx4444] [_p_b_m_f_i_l_e]
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.       Reads    a portable bitmap as input.  Produces a    somewhat crude
  17.       ASCII    graphic    as output.
  18.  
  19.       Note that there is no    asciitopbm tool    - this transformation
  20.       is one-way.
  21.  
  22.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  23.       The ----1111xxxx2222 and ----2222xxxx4444 flags give you two alternate ways for the
  24.       bits to get mapped to    characters.  With 1111xxxx2222, the default,
  25.       each character represents a group of 1 bit across by 2 bits
  26.       down.     With ----2222xxxx4444, each character represents 2    bits across by
  27.       4 bits down.    With the 1x2 mode you can see the individual
  28.       bits,    so it's    useful for previewing small bitmaps on a non-
  29.       graphics terminal.  The 2x4 mode lets    you display larger
  30.       bitmaps on a standard    80-column display, but it obscures
  31.       bit-level details.  2x4 mode is also good for    displaying
  32.       graymaps - "pnmscale -width 158 | pgmnorm | pgmtopbm
  33.       -thresh" should give good results.
  34.  
  35.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  36.       pbm(5)
  37.  
  38.      AAAAUUUUTTTTHHHHOOOORRRR
  39.       Copyright (C)    1988, 1992 by Jef Poskanzer.
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.      Page 1                         (printed 8/31/98)
  65.  
  66.  
  67.  
  68.